<template>
	<view class="elevator-statistics">
		<!-- 维保中电梯总览 -->
		<overview v-if="findRoute('mystatistics_elevator_overview')"></overview>
		<!-- 维保中排期概况 -->
		<schedulview v-if="findRoute('mystatistics_elevator_schedule')"></schedulview>
		<!-- 保养合规情况 -->
		<maintain v-if="findRoute('mystatistics_elevator_pass')"></maintain>
		<!-- 暂停维保电梯总览 -->
		<loseoff v-if="findRoute('mystatistics_elevator_out')"></loseoff>
	</view>
</template>

<script>
// import { getLastDates } from '@/utils/tools.js';

import { mapState } from 'vuex';
import overview from './overview.vue';
import schedulview from './schedulview.vue';
import maintain from './maintain.vue';
import loseoff from './loseoff.vue';
export default {
	components: { overview, schedulview, maintain, loseoff },
	props: {

	},
	data() {
		return {

		};
	},
	computed: {
		...mapState('user', ['userinfo'])
	},

	async mounted() {

	},

	methods: {

	}
};
</script>

<style lang="scss" scoped>
.elevator-statistics {
	overflow-x: hidden;
}
</style>
